import 'package:flutter/material.dart';
import 'package:robotcontrol/page/home/home_body.dart';
import 'package:robotcontrol/utils/tip_util.dart';
import 'package:robotcontrol/widgets/appbar.dart';

class HomePage extends StatefulWidget{
  @override
  _HomePageState createState()=> _HomePageState();
}
class _HomePageState extends State<HomePage> with AutomaticKeepAliveClientMixin{
  @override
  Widget build(BuildContext context) {
    super.build(context);
    return Scaffold(
      appBar: appBar(
        TipUtil.home,
        showBack: false,
      ),
      body: HomeBody(),
    );
  }

  @override
  // TODO: implement wantKeepAlive
  bool get wantKeepAlive => true;

}